package com.example.cloud.controller.business.medical;

import com.example.cloud.controller.common.BaseController;
import com.example.cloud.model.business.medical.TreatPlanServiceProject;
import com.example.cloud.model.dto.QueryModel;
import com.example.cloud.model.dto.Result;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by wangtao on 2018/7/2.
 */
@RestController
@RequestMapping("/treat/plan/service/project")
public class TreatPlanServiceProjectController extends BaseController {

    @PostMapping("/search")
    public Result search(@RequestBody QueryModel model) {
        return this.singleQuery(model, TreatPlanServiceProject.class);
    }
}
